package cloth.vo;

import java.sql.Date;


import cloth.vo.MemberVO;
import cloth.vo.ProductVO;

public class OrderHistoryVO {
	private String o_id;
	private ProductVO product;
	private Date o_orderdate;
	private int o_quantity;	
	private MemberVO member;
	
	public OrderHistoryVO(){}

	public OrderHistoryVO(String o_id, ProductVO product, Date o_orderdate,
			int o_quantity, MemberVO member) {
		super();
		this.o_id = o_id;
		this.product = product;
		this.o_orderdate = o_orderdate;
		this.o_quantity = o_quantity;
		this.member = member;
	}

	public String getO_id() {
		return o_id;
	}

	public void setO_id(String o_id) {
		this.o_id = o_id;
	}

	public ProductVO getProduct() {
		return product;
	}

	public void setProduct(ProductVO product) {
		this.product = product;
	}

	public Date getO_orderdate() {
		return o_orderdate;
	}

	public void setO_orderdate(Date o_orderdate) {
		this.o_orderdate = o_orderdate;
	}

	public int getO_quantity() {
		return o_quantity;
	}

	public void setO_quantity(int o_quantity) {
		this.o_quantity = o_quantity;
	}

	public MemberVO getMember() {
		return member;
	}

	public void setMember(MemberVO member) {
		this.member = member;
	}

	@Override
	public String toString() {
		return "OrderHistory [o_id=" + o_id + ", product=" + product
				+ ", o_orderdate=" + o_orderdate + ", o_quantity=" + o_quantity
				+ ", member=" + member + "]";
	}
	
	
	
}
